﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Liste.aspx.cs" Inherits="WebFatura.Liste" %>

<%@ Register Assembly="DevExpress.Web.ASPxGridView.v12.1, Version=12.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>

<%@ Register Assembly="DevExpress.Web.ASPxEditors.v12.1, Version=12.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta charset="UTF-8" />
    <!-- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">  -->
    <title>Mikro Web</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="description" content="Login and Registration Form with HTML5 and CSS3" />
    <meta name="keywords" content="html5, css3, form, switch, animation, :target, pseudo-class" />
    <meta name="author" content="Codrops" />
    <link rel="shortcut icon" href="../favicon.ico" />
    <link rel="stylesheet" type="text/css" href="css/demo.css" />
    <link rel="stylesheet" type="text/css" href="css/style.css" />
    <script type="text/javascript">
        function OnInit(s, e) {
            AdjustSize();
        }
        function OnEndCallback(s, e) {
            AdjustSize();
        }
        function OnControlsInitialized(s, e) {
            ASPxClientUtils.AttachEventToElement(window, "resize", function (evt) {
                AdjustSize();
            });
        }
        function AdjustSize() {
            var height = 550; //Math.max(0, document.documentElement.clientHeight);
            grid.SetHeight(height);
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <div class="container">
            <header>
                <h1>Mikro Web </h1>
            </header>
            <section>
                <div id="container_demo">
                    <div id="wrapper" style="width: 700px; height: 650px">
                        <div id="liste" class="animate form">
                            <dx:ASPxGridView ID="ASPxGridView1" SettingsBehavior-AllowSelectByRowClick="true" SettingsBehavior-AllowSelectSingleRowOnly="true" AllowMultiSelection="false" ClientInstanceName="grid" runat="server" Theme="PlasticBlue"
                                Width="100%" AutoGenerateColumns="False" Font-Size="20pt">
                                <%--<Columns>
                                    <dx:GridViewDataTextColumn Caption="Cari Kodu" FieldName="Kodu" VisibleIndex="0" Width="200px">
                                    </dx:GridViewDataTextColumn>
                                    <dx:GridViewDataTextColumn Caption="Cari Ünvanı" FieldName="Unvani" VisibleIndex="1" Width="470px">
                                    </dx:GridViewDataTextColumn>
                                </Columns>--%>

                                <SettingsBehavior AllowSelectSingleRowOnly="True"></SettingsBehavior>

                                <SettingsPager PageSizeItemSettings-ShowAllItem="true" Mode="ShowAllRecords" PageSize="99999999" Visible="False">
                                    <PageSizeItemSettings ShowAllItem="True"></PageSizeItemSettings>
                                </SettingsPager>
                                <Settings ShowFilterRow="True" />
                                <ClientSideEvents Init="OnInit" EndCallback="OnEndCallback" />
                            </dx:ASPxGridView>
                            <p class="login button">
                                <asp:Button ID="Button1" runat="server" Text="Ana Menu" OnClick="btnMenu_Click" />
                                <asp:Button ID="btnOnay" runat="server" Text="Tamam" OnClick="btnOnay_Click" />
                            </p>
                        </div>
                    </div>
                </div>
            </section>
        </div>
    </form>
</body>
</html>
